﻿using System.ComponentModel.DataAnnotations;

namespace Reporting.API.DTOs.RBAC
{
    /// <summary>
    /// 登录返回实体类
    /// </summary>
    public class UserRepository
    {
        /// <summary>
        /// 用户实体类
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 角色ID  数组类型
        /// </summary>
        public string RoleIdtostring { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string Token { get; set; }
    }
}
